import {Component, OnInit} from '@angular/core';
import {Router} from "@angular/router";

@Component({
    selector: 'app-tabs',
    templateUrl: 'tabs.page.html',
    styleUrls: ['tabs.page.scss']
})
export class TabsPage implements OnInit  {
    initNumber = 1;
    tabIndex = 1;

    constructor(private route: Router) {
    }

    ngOnInit() {
    }

    goPage(url,tabIndex){
        this.tabIndex = tabIndex;
        this.initNumber += 1;
    }
}
